package com.mjf.cjt.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 * desc
 * </p>
 *
 * @author chenshoumeng
 * @date 2025/5/18 23:10
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class PurchaseArrivalVO {
    private Long id;
    private String code; // 单据编号
    private String voucherdate; // 单据日期
    /**
     * 来源单据类型ID
     *
     * 27：采购订单
     *
     * 50：进货单
     *
     * 8：采购入库单
     */
    private Long sourceVoucherType_id; // 单据来源ID
    private String sourceVoucherType_code; // 单据来源编码
    private Long warehouse_id; // 仓库ID
    private String warehouse_name; // 仓库名称
    private String warehouse_code; // 仓库编码
    private Long partner_id; // 往来单位id
    private String partner_code; // 往来单位编码
    private String partner_name;
    private Long details_id; // 详情id
    private String details_inventory_code; // 存货编码
    private String details_inventory_name; // 存货名称
    private BigDecimal details_inventory_priuserdefdecm1; // 返点比例
    private BigDecimal details_inventory_priuserdefdecm2; // 返点金额
    private BigDecimal details_quantity; // 数量
    private String details_unit_code; // 单位编码
    private String details_unit_name; // 单位名称
    private BigDecimal details_origdiscountprice; // 单价
    private BigDecimal details_origdiscountamount; // 金额

}
